<?php    
class monitoringModel extends Model{        

    function __construct(){
    	$this->conn = $this->getConnection();        
    }
    
    public function isDbDown() {
    	if($this->conn == null) {
    		return true;
    	}
    	return false;
    }
}
?>